package com.yanqu.road.logic.bussiness.servercenter;

import com.yanqu.road.entity.servercenter.ChannelStatus;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

public class SystemSwitchBusiness {
    public static List<Integer> getLockSystemIdList(long serverId)throws Exception {
        return DaoHelper.getSystemSwitchDaoImpl().getLockSystemIdList(serverId);
    }

    public static Map<Long, List<Integer>> getLockSystemIdList() throws Exception {
        return DaoHelper.getSystemSwitchDaoImpl().getLockSystemIdList();
    }

    public static Map<Integer, ChannelStatus> getChannelStatusMap(int channelId) {
        return DaoHelper.getChannelStatusDaoImpl().getChannelStatusMap(channelId);
    }
}
